import dgRequest from '../'

export function accountLoginRequest(account) {
  return dgRequest.post({
    url: '/login',
    data: account
  })
}

export function getUserInfoById(id) {
  return dgRequest.get({
    url: `/users/id/${id}`
  })
}